Delete method

Deletes the current document.

Syntax

Delete()

Parameters

This method accepts no parameters.

Remarks

The confirmation dialogs that are normally shown during document deletion can be suppressed as described in Confirmation property.

Related concepts

About the Document object